Flowchart Node

Overview

The Flowchart node is used to nest a flowchart as a sub-flowchart in the flowchart the node is placed into. Upon placement of the Flowchart node, you are prompted to select which flowchart the node should execute. Users can import customized flowchart and add them through the Flowchart Node.

../../_images/flowchart_overview_1.png ../../_images/flowchart_overview_2.png

Output

Output

Type

Description

FlowChartName

string

Name of the flowchart that runs when this node is executed.


Imported Flowchart Templates

../../_images/flowchart_addNodeDialog.png
Customized flowcharts are shown under the Templates section.
There are a few default flowcharts available (SimpleImageFilter, SimpleLoop, timer).
You can add custom flowcharts by placing the .fws file in a folder starting with ; under the path: %DAOAI_VISION_PATH%\templates\.template_flowcharts.
../../_images/flowchart_folders.png

Procedure to Use

  1. Add a new Flowchart from the top menu bar, and enter a name for the new flowchart.

../../_images/flowchart_procedure_1_1.png ../../_images/flowchart_procedure_1_2.png

  1. Insert some nodes in the new flowchart for demonstration.

../../_images/flowchart_procedure_2_1.png ../../_images/flowchart_procedure_2_2.png

  1. Insert a Flowchart node in the main_flowchart. Select the flowchart that was just added in Step 1.

../../_images/flowchart_procedure_3_1.png ../../_images/flowchart_procedure_3_2.png

  1. You can see which flowchart will be run from the Flowchart Name field in the node config page.

../../_images/flowchart_procedure_4.png

  1. Run the flowchart. You can see the print message from the new flowchart printed in the console.

../../_images/flowchart_procedure_5.png